package com.itheima.test02;

public class Test11 {
    public static void main(String[] args) {
        System.out.println(jieCheng(5));

    }
    public static long  jieCheng(long n){
        if(n==1) {
            return n;
        }else{
            return  jieCheng(n-1)*n;
        }

    }
}
